import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
// 用户信息
import user from './modules/user'
// 公共部门组件
import comm from './modules/comm'
// 左侧导航栏
import silderMenu from './modules/silderMenu'
import headerMenu from './modules/headerMenu'

Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        user,
        comm,
        silderMenu,
        headerMenu
    },
    getters
})
